package io.sdph.statistics.dao;

import io.sdph.statistics.model.OrdersStatistic;
import io.sdph.statistics.model.ProductsStatistic;
import io.sdph.statistics.model.UsersStatistic;

import java.util.Date;
import java.util.List;

public interface StatisticsManagerDAO {
	void saveUsersStatistic(final UsersStatistic usersStatistic);
	UsersStatistic getUsersStatistic(Date date);
	void saveOrdersStatistic(final OrdersStatistic ordersStatistic);
	OrdersStatistic getOrdersStatistic(Date date);
	void saveProductsStatistic(final ProductsStatistic productsStatistic);
	ProductsStatistic getProductsStatistic(Date date, String id);
	List<ProductsStatistic> getProductsStatistics(String id);
}